package org.hxyjs.entity;
import java.io.Serializable;
import java.util.List;

/**
 * @author 
 */
public class Supplier implements Serializable {
    private String suno;

    private String ano;

    private String suname;

    private String suphone;

    private String suimg;

    private String suaddr;

    private String sid;

    private String supwd;

    private String suemail;
    private List<Supplierorder> supplierorder;

    public List<Supplierorder> getSupplierorder() {
        return supplierorder;
    }

    public void setSupplierorder(List<Supplierorder> supplierorder) {
        this.supplierorder = supplierorder;
    }

    public String getSupic() {
        return supic;
    }

    public void setSupic(String supic) {
        this.supic = supic;
    }

    private String supic;

    public String getSuemail() {
        return suemail;
    }

    public void setSuemail(String suemail) {
        this.suemail = suemail;
    }

    private static final long serialVersionUID = 1L;

    public String getSuno() {
        return suno;
    }

    public void setSuno(String suno) {
        this.suno = suno;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public String getSuname() {
        return suname;
    }

    public void setSuname(String suname) {
        this.suname = suname;
    }

    public String getSuphone() {
        return suphone;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setSuphone(String suphone) {
        this.suphone = suphone;
    }

    public String getSuimg() {
        return suimg;
    }

    public void setSuimg(String suimg) {
        this.suimg = suimg;
    }

    public String getSuaddr() {
        return suaddr;
    }

    public void setSuaddr(String suaddr) {
        this.suaddr = suaddr;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSupwd() {
        return supwd;
    }

    public void setSupwd(String supwd) {
        this.supwd = supwd;
    }


    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Supplier other = (Supplier) that;
        return (this.getSuno() == null ? other.getSuno() == null : this.getSuno().equals(other.getSuno()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getSuname() == null ? other.getSuname() == null : this.getSuname().equals(other.getSuname()))
            && (this.getSuphone() == null ? other.getSuphone() == null : this.getSuphone().equals(other.getSuphone()))
            && (this.getSuimg() == null ? other.getSuimg() == null : this.getSuimg().equals(other.getSuimg()))
            && (this.getSuaddr() == null ? other.getSuaddr() == null : this.getSuaddr().equals(other.getSuaddr()))
            && (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))
            && (this.getSupwd() == null ? other.getSupwd() == null : this.getSupwd().equals(other.getSupwd()))
            && (this.getSuemail() == null ? other.getSuemail() == null : this.getSuemail().equals(other.getSuemail()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSuno() == null) ? 0 : getSuno().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getSuname() == null) ? 0 : getSuname().hashCode());
        result = prime * result + ((getSuphone() == null) ? 0 : getSuphone().hashCode());
        result = prime * result + ((getSuimg() == null) ? 0 : getSuimg().hashCode());
        result = prime * result + ((getSuaddr() == null) ? 0 : getSuaddr().hashCode());
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        result = prime * result + ((getSupwd() == null) ? 0 : getSupwd().hashCode());
        result = prime * result + ((getSuemail() == null) ? 0 : getSuemail().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", suno=").append(suno);
        sb.append(", ano=").append(ano);
        sb.append(", suname=").append(suname);
        sb.append(", suphone=").append(suphone);
        sb.append(", suimg=").append(suimg);
        sb.append(", suaddr=").append(suaddr);
        sb.append(", sid=").append(sid);
        sb.append(", supwd=").append(supwd);
        sb.append(", suemail=").append(suemail);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}